<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: /home/sky/yLib/src/CMakeLists.txt File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('src_2CMakeLists_8txt.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">/home/sky/yLib/src/CMakeLists.txt File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a27188a3f4bdad4750865cc4b0d001559"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="src_2CMakeLists_8txt.html#a27188a3f4bdad4750865cc4b0d001559">macro</a>&#160;&#160;&#160;to add module source code</td></tr>
<tr class="separator:a27188a3f4bdad4750865cc4b0d001559"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a06dd1b4f24e241a17dfd31b8d958a73a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="src_2CMakeLists_8txt.html#a06dd1b4f24e241a17dfd31b8d958a73a">if</a> (WIN32) <a class="el" href="tests_2CMakeLists_8txt.html#a8e56ce5c751d21c8c3040391bf353f74">elseif</a>(CMAKE_SYSTEM_NAME <a class="el" href="tests_2CMakeLists_8txt.html#a4a9621c2ec6dbcbe23d561b3260ffbab">MATCHES</a> &quot;Linux&quot;) if(CMAKE_BUILD_TYPE <a class="el" href="tests_2CMakeLists_8txt.html#a4a9621c2ec6dbcbe23d561b3260ffbab">MATCHES</a> &quot;(Release|RELEASE|release)&quot;) else() add_compile_options(-g) <a class="el" href="tests_2CMakeLists_8txt.html#ae5c33df4395a1f3e1d39972c4088996a">set</a>(CMAKE_C_FLAGS &quot;$</td></tr>
<tr class="separator:a06dd1b4f24e241a17dfd31b8d958a73a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f9ad9b1a9a8475c1274b12ddec8a2ec"><td class="memItemLeft" align="right" valign="top">g&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="src_2CMakeLists_8txt.html#a3f9ad9b1a9a8475c1274b12ddec8a2ec">set</a> (CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} -g&quot;) endif() <a class="el" href="tests_2CMakeLists_8txt.html#a8e56ce5c751d21c8c3040391bf353f74">elseif</a>(ANDROID) <a class="el" href="tests_2CMakeLists_8txt.html#a272c616525b50c1a6416236af1d091c7">endif</a>() <a class="el" href="tests_2CMakeLists_8txt.html#a334d873e4a353d55ab1caa42486f5b81">include_directories</a>($</td></tr>
<tr class="separator:a3f9ad9b1a9a8475c1274b12ddec8a2ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad58a4da95c23823e0d3d95daf1727b91"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="src_2CMakeLists_8txt.html#ad58a4da95c23823e0d3d95daf1727b91">set</a> (SRC ${CMAKE_CURRENT_SOURCE_DIR}/core/ycommon.cpp ${CMAKE_CURRENT_SOURCE_DIR}/core/yobject.cpp ${CMAKE_CURRENT_SOURCE_DIR}/core/yexception.cpp ${CMAKE_CURRENT_SOURCE_DIR}/core/ybasicvalue.cpp ${CMAKE_CURRENT_SOURCE_DIR}/core/ylinuxerrnohelper.cpp ${CMAKE_CURRENT_SOURCE_DIR}/network/yabstractsocket.cpp ${CMAKE_CURRENT_SOURCE_DIR}/network/yabstractsocketserver.cpp ${CMAKE_CURRENT_BINARY_DIR}/ylib_extra_infos.cpp) to add module source code(ylib_build_module name) <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">string</a>(TOLOWER $</td></tr>
<tr class="separator:ad58a4da95c23823e0d3d95daf1727b91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a351bb32775fb5ad328f903896bddfd96"><td class="memItemLeft" align="right" valign="top">module_name&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="src_2CMakeLists_8txt.html#a351bb32775fb5ad328f903896bddfd96">set</a> (SRC ${SRC} ${CMAKE_CURRENT_SOURCE_DIR}/${module_name}.cpp) message(STATUS &quot;yLib will include $</td></tr>
<tr class="separator:a351bb32775fb5ad328f903896bddfd96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29e8f78f6950cb9830b05e76453e37a5"><td class="memItemLeft" align="right" valign="top">module&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="src_2CMakeLists_8txt.html#a29e8f78f6950cb9830b05e76453e37a5">endmacro</a> () to add module source code(ylib_build class_name name) <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">string</a>(TOLOWER $</td></tr>
<tr class="separator:a29e8f78f6950cb9830b05e76453e37a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a296644e9ff1d0a602b4703f361406374"><td class="memItemLeft" align="right" valign="top">module_name&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">string</a> (TOLOWER ${class_name} class_dir_name) <a class="el" href="tests_2CMakeLists_8txt.html#ae5c33df4395a1f3e1d39972c4088996a">set</a>(SRC $</td></tr>
<tr class="separator:a296644e9ff1d0a602b4703f361406374"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a27188a3f4bdad4750865cc4b0d001559"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27188a3f4bdad4750865cc4b0d001559">&#9670;&nbsp;</a></span>macro</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define macro&#160;&#160;&#160;to add module source code</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a29e8f78f6950cb9830b05e76453e37a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29e8f78f6950cb9830b05e76453e37a5">&#9670;&nbsp;</a></span>endmacro()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">module endmacro </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a06dd1b4f24e241a17dfd31b8d958a73a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06dd1b4f24e241a17dfd31b8d958a73a">&#9670;&nbsp;</a></span>if()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">if </td>
          <td>(</td>
          <td class="paramtype">WIN32&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3f9ad9b1a9a8475c1274b12ddec8a2ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f9ad9b1a9a8475c1274b12ddec8a2ec">&#9670;&nbsp;</a></span>set() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">g set </td>
          <td>(</td>
          <td class="paramtype">CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} -g&quot;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad58a4da95c23823e0d3d95daf1727b91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad58a4da95c23823e0d3d95daf1727b91">&#9670;&nbsp;</a></span>set() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">set </td>
          <td>(</td>
          <td class="paramtype">SRC ${CMAKE_CURRENT_SOURCE_DIR}/core/ycommon.cpp ${CMAKE_CURRENT_SOURCE_DIR}/core/yobject.cpp ${CMAKE_CURRENT_SOURCE_DIR}/core/yexception.cpp ${CMAKE_CURRENT_SOURCE_DIR}/core/ybasicvalue.cpp ${CMAKE_CURRENT_SOURCE_DIR}/core/ylinuxerrnohelper.cpp ${CMAKE_CURRENT_SOURCE_DIR}/network/yabstractsocket.cpp ${CMAKE_CURRENT_SOURCE_DIR}/network/yabstractsocketserver.cpp ${CMAKE_CURRENT_BINARY_DIR}/ylib_extra_infos.&#160;</td>
          <td class="paramname"><em>cpp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a351bb32775fb5ad328f903896bddfd96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a351bb32775fb5ad328f903896bddfd96">&#9670;&nbsp;</a></span>set() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">module_name set </td>
          <td>(</td>
          <td class="paramtype">SRC ${SRC} ${CMAKE_CURRENT_SOURCE_DIR}/${module_name}.&#160;</td>
          <td class="paramname"><em>cpp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a296644e9ff1d0a602b4703f361406374"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a296644e9ff1d0a602b4703f361406374">&#9670;&nbsp;</a></span>string()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">module_name string </td>
          <td>(</td>
          <td class="paramtype">TOLOWER ${class_name}&#160;</td>
          <td class="paramname"><em>class_dir_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="src_2CMakeLists_8txt.html">CMakeLists.txt</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
